<template>
  <div class="beauty">
    <beauty-item v-for="(item, index) in goods" :key="index" :goodsItem="item">
    </beauty-item>
  </div>
</template>

<script>
import beautyItem from "./beautyItem";
export default {
  name: "beauty",
  components: {
    beautyItem,
  },
  props: {
    goods: {
      typeof: Array,
      default() {
        return [];
      },
    },
  },
};
</script>

<style scoped>
.beauty {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2px;
}
</style>